[INFO] fetching crate peg 0.8.6...
[INFO] fixing peg-0.8.6 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate peg 0.8.6 into /workspace/builds/worker-1-tc2/source
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate peg 0.8.6
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate peg 0.8.6
[INFO] tweaked toml for crates.io crate peg 0.8.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate peg 0.8.6 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate peg 0.8.6 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce
[INFO] running `Command { std: "docker" "start" "753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]     Checking winnow v0.7.3
[INFO] [stderr]    Compiling peg-runtime v0.8.6
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling trybuild v1.0.90
[INFO] [stderr]     Checking ryu v1.0.19
[INFO] [stderr]     Checking itoa v1.0.14
[INFO] [stderr]     Checking glob v0.3.2
[INFO] [stderr]     Checking version_check v0.9.5
[INFO] [stderr]    Compiling syn v2.0.108
[INFO] [stderr]    Compiling peg-macros v0.8.6
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]     Checking peg v0.8.6 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]    Compiling serde_derive v1.0.218
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]     Checking toml v0.8.20
[INFO] [stderr]    Migrating tests/trybuild.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/run-pass.rs from 2021 edition to 2024
[INFO] [stderr] error: errors present after applying fixes to crate `run_pass`
[INFO] [stdout] warning: reserved token in Rust 2024
[INFO] [stdout]   --> tests/pass/rule_args.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rule keyword(id: &'static str) = ##parse_string_literal(id) !['0'..='9' | 'a'..='z' | 'A'..='Z' | '_']
[INFO] [stdout]    |                                      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/reserved-syntax.html>
[INFO] [stdout]    = note: `--force-warn rust-2024-guarded-string-incompatible-syntax` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: insert whitespace here to avoid this being parsed as a forbidden token in Rust 2024
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rule keyword(id: &'static str) = # #parse_string_literal(id) !['0'..='9' | 'a'..='z' | 'A'..='Z' | '_']
[INFO] [stdout]    |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]  --> tests/pass/rule_args.rs
[INFO] [stderr]   = cause: error: expected "["
[INFO] [stderr]              --> tests/pass/rule_args.rs:13:40
[INFO] [stderr]               |
[INFO] [stderr]            13 |     rule keyword(id: &'static str) = # #parse_string_literal(id) !['0'..='9' | 'a'..='z' | 'A'..='Z' | '_']
[INFO] [stderr]               |                                        ^
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error[E0432]: unresolved import `ra`
[INFO] [stderr]              --> tests/pass/rule_args.rs:36:5
[INFO] [stderr]               |
[INFO] [stderr]            36 | use ra::*;
[INFO] [stderr]               |     ^^ use of unresolved module or unlinked crate `ra`
[INFO] [stderr]               |
[INFO] [stderr]               = help: if you wanted to use a crate named `ra`, use `cargo add ra` to add it to your `Cargo.toml`
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            error: aborting due to 2 previous errors
[INFO] [stderr]            
[INFO] [stderr]            
[INFO] [stderr]            For more information about this error, try `rustc --explain E0432`.
[INFO] [stderr] help: to report this as a bug, open an issue at https://github.com/rust-lang/rust/issues, quoting the full output of this command
[INFO] [stderr] help: to possibly apply more fixes, pass in the `--broken-code` flag
[INFO] [stderr] note: original diagnostics will follow:
[INFO] [stdout] warning: `impl std::fmt::Debug` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]  --> tests/pass/return_type.rs:7:42
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]  --> tests/pass/return_type.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]   = warning: this changes meaning in Rust 2024
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]   = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]   = note: this warning originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug + use<>
[INFO] [stdout]   |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl std::fmt::Debug` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]  --> tests/pass/return_type.rs:7:42
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |                                          ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds
[INFO] [stdout]  --> tests/pass/return_type.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | peg::parser! {
[INFO] [stdout]   | ^
[INFO] [stdout] 6 |     grammar g() for str {
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout]   = warning: this changes meaning in Rust 2024
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]   = note: this warning originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug + use<>
[INFO] [stdout]   |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.74s
[INFO] [stderr] crater-edition-check: peg v0.8.6 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking peg v0.8.6 (/opt/rustwide/workdir)
[INFO] [stdout] error: reserved multi-hash token is forbidden
[INFO] [stdout]   --> tests/pass/rule_args.rs:13:38
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rule keyword(id: &'static str) = ##parse_string_literal(id) !['0'..='9' | 'a'..='z' | 'A'..='Z' | '_']
[INFO] [stdout]    |                                      ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: sequences of two or more # are reserved for future use since Rust 2024
[INFO] [stdout] help: consider inserting whitespace here
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rule keyword(id: &'static str) = # #parse_string_literal(id) !['0'..='9' | 'a'..='z' | 'A'..='Z' | '_']
[INFO] [stdout]    |                                       +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: undefined rule `parse_string_literal`
[INFO] [stdout]   --> tests/pass/rule_args.rs:13:40
[INFO] [stdout]    |
[INFO] [stdout] 13 |     rule keyword(id: &'static str) = ##parse_string_literal(id) !['0'..='9' | 'a'..='z' | 'A'..='Z' | '_']
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `peg::ParseLiteral`
[INFO] [stdout]  --> tests/pass/rule_args.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use peg::ParseLiteral;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow value as mutable more than once at a time
[INFO] [stdout]  --> tests/pass/return_type.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |             ^^^-
[INFO] [stdout]   |             |  |
[INFO] [stdout]   |             |  ... and the first borrow might be used here, when that temporary is dropped and runs the destructor for type `utf8::peg::RuleResult<impl std::fmt::Debug>`
[INFO] [stdout]   |             value was mutably borrowed here in the previous iteration of the loop
[INFO] [stdout]   |             a temporary with access to the first borrow is created here ...
[INFO] [stdout]   |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]  --> tests/pass/return_type.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   = note: this error originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug + use<>
[INFO] [stdout]   |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]  --> tests/pass/return_type.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |             ^^^-
[INFO] [stdout]   |             |  |
[INFO] [stdout]   |             |  temporary value is freed at the end of this statement
[INFO] [stdout]   |             creates a temporary value which is freed while still in use
[INFO] [stdout]   |             lifetime `'input` defined here
[INFO] [stdout]   |             opaque type requires that borrow lasts for `'input`
[INFO] [stdout]   |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]  --> tests/pass/return_type.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug
[INFO] [stdout]   |             ^^^^
[INFO] [stdout]   = note: this error originates in the macro `peg::parser` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]   |
[INFO] [stdout] 7 |         pub rule returns_impl_trait() -> impl Debug + use<>
[INFO] [stdout]   |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0716.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `peg` (test "run-pass") due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce", kill_on_drop: false }`
[INFO] [stdout] 753d1fc517bef3a882b92df1090b25e2ed1ebaaea2954af54b2e127c126be4ce
